var express = require('express')
    , router = express.Router()
    , logger = require('log4js').getLogger('user.index.js');

var user = require('./user');

router.use((req, res, next) => {
    logger.info(req.originalUrl);
    next();
});

router.get('/add', user.add);
router.get('/', user.index);
router.get('/about', user.about);

module.exports = router;